from flask import Blueprint,request
from src.Service.Storeservice import StoreService

StoreController = Blueprint('StoreController',__name__)
storeservice = StoreService()

@StoreController.route("/getStore")
def index():
    id = request.args.get('id',type=int)
    return storeservice.getStoreInfo(id)